Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.platform.birt.reporting.layoutContrib--widgets

This contribution is part of XML component org.nuxeo.platform.birt.reporting.layoutContrib inside nuxeo-birt-reporting-web-6.0.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="report_file" type="template">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:filename</field>
          </fields>
          <widgetModes>
            <mode value="full_edit">edit</mode>
            <mode value="edit">edit</mode>
            <mode value="view">view</mode>
            <mode value="view">preview</mode>
          </widgetModes>
          <properties mode="any">
            <property name="template">/widgets/report_file_widget.xhtml</property>
            <property name="required">true</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="report_file" type="template">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:filename</field>
      </fields>
      <widgetModes>
        <mode value="full_edit">edit</mode>
        <mode value="edit">edit</mode>
        <mode value="view">view</mode>
        <mode value="view">preview</mode>
      </widgetModes>
      <properties mode="any">
        <property name="template">/widgets/report_file_widget.xhtml</property>
        <property name="required">true</property>
      </properties>
    </widget>

  </extension>